package org.apache.servicecomb.samples.practise.houserush.sale.rpc;

import org.apache.servicecomb.samples.practise.houserush.sale.rpc.po.House;
import org.apache.servicecomb.samples.practise.houserush.sale.rpc.po.Realestate;

import java.util.List;

/**
 * @Author: Snake Man
 * @system:
 * @DateTime: 2022/1/18 12:54
 * @Description:
 */
public interface RealestateApi {
    Realestate findRealestate(int id);

    House findHouse(int id);

    List<House> lockHousesForSale(List<Integer> ids);

    int updateReleaseLockingStattesForHouses(List<Integer> ids);

}
